home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ WinNT Popup Options 1.xpl
< prev
next >
Wrap
Text File
|
2001-05-05
|
1KB
|
61 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="7"
"COUNT"="3"
"UIPATH"="Appearance\System\Message Windows"
"NAME"="Pop-Up Messages"
"VERSION"="2.00"
"OSVERSION"="010101"
"LANGUAGE"="VBScript"
"TEXT 1"="Display all errors using a pop-up window (Default)"
"TEXT 2"="Display only system errors using a pop-up window"
"TEXT 3"="Do not display ANY error as pop-up window"
"DESCRIPTION 1"="This controls what Windows should do if an error happens."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to Andrew Bourdon for this tip!"
"COMMENT 2"="Thanks to AXCEL216 as well: http://members.aol.com/axcel216/2k1.htm#ERMO"
sV1="HKLM\System\CurrentControlSet\Control\Windows\ErrorMode"
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i=2 then
Call SetUIElement(3,true)
else
if i=1 then
Call SetUIElement(2,true)
else
Call SetUIElement(1,true)
end if
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(3)=true then
Call RegWriteValue(sV1,"2",2)
else
if GetUIElement(2)=true then
Call RegWriteValue(sV1,"1",2)
else
Call RegWriteValue(sV1,"0",2)
end if
end if
Call Restart()
End Sub
Sub Plugin_Terminate
End Sub